-
Notifications
You must be signed in to change notification settings - Fork 619
chore: Update version flow updates deployment #4852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4852 +/- ##
=======================================
Coverage 47.60% 47.60%
=======================================
Files 1054 1054
Lines 57164 57164
Branches 3917 3917
=======================================
Hits 27212 27212
Misses 29263 29263
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
| <DialogDescription> | ||
| {`It is recommended to pause traffic to Engine before performing this | ||
| upgrade. There is < 1 minute of expected downtime.`} | ||
| </DialogDescription> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Don't need to wrap entire text with {``} here - just "<"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a < in the string, so I either need to do this or <. I generally don't like the latter cause it makes it hard to grep for it in code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should use the latter
|
I'm holding off on merging this until we have a PR that fixes a bug in upgrades introduced in one of the Engine versions. |
| <DialogDescription> | ||
| {`It is recommended to pause traffic to Engine before performing this | ||
| upgrade. There is < 1 minute of expected downtime.`} | ||
| </DialogDescription> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should use the latter
Merge activity
|
## Problem solved
Changes the "update Engine version" flow to query the infra backend to perform the version upgrade.
Previously this would ping Slack for a thirdweb staff to update.
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on improving the code quality and user interface across various components in the dashboard. It includes updates to placeholders, text content, and the handling of engine updates.
### Detailed summary
- Updated `placeholder` in `ip-allowlist.tsx` to use curly braces.
- Added periods to sentences in `EngineImportPage.tsx` and `CreateEnginePage.tsx`.
- Simplified conditional rendering in `engine-instances-table.tsx`.
- Changed `cloudDeployedAt` to `deploymentId` in `useEngine.ts`.
- Renamed `useEngineUpdateVersion` to `useEngineUpdateServerVersion`.
- Updated fetch method to `PUT` for engine updates.
- Changed variable names for clarity in `EngineVersionBadge.tsx`.
- Updated props in `UpdateVersionModal` to use `latestVersion`.
- Adjusted toast messages for better user feedback during engine updates.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
773ec44 to
522968a
Compare
Problem solved
Changes the "update Engine version" flow to query the infra backend to perform the version upgrade.
Previously this would ping Slack for a thirdweb staff to update.
PR-Codex overview
This PR primarily focuses on improving the code quality and user interface of the dashboard components by updating placeholders, fixing text formatting, and refactoring function names for clarity. It also enhances the update functionality for the Engine version.
Detailed summary
placeholderinip-allowlist.tsxfor consistency.EngineImportPage.tsxandCreateEnginePage.tsx.engine-instances-table.tsx.cloudDeployedAttodeploymentIdfor clarity inuseEngine.ts.useEngineUpdateVersiontouseEngineUpdateServerVersion.useEngineUpdateServerVersion.EngineVersionBadge.UpdateVersionModalto uselatestVersioninstead oflatest.